(global.webpackJsonp = global.webpackJsonp || []).push([ [ "common/main" ], {
    "350c": function(t, e, n) {
        var o = n("657d");
        n.n(o).a;
    },
    3581: function(t, e, n) {
        n.r(e);
        var o, a = n("857f");
        for (o in a) "default" !== o && function(t) {
            n.d(e, t, function() {
                return a[t];
            });
        }(o);
        n("350c");
        var r = n("f0c5"), r = Object(r.a)(a.default, void 0, void 0, !1, null, null, null, !1, void 0, void 0);
        e.default = r.exports;
    },
    "657d": function(t, e, n) {},
    "857f": function(t, e, n) {
        n.r(e);
        var o, a = n("ad3d"), r = n.n(a);
        for (o in a) "default" !== o && function(t) {
            n.d(e, t, function() {
                return a[t];
            });
        }(o);
        e.default = r.a;
    },
    9334: function(t, e, s) {
        (function(t) {
            s("0cda");
            var e = a(s("66fd")), n = a(s("3581")), o = a(s("b6a8"));
            function a(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            function r(e, t) {
                var n, o = Object.keys(e);
                return Object.getOwnPropertySymbols && (n = Object.getOwnPropertySymbols(e), t && (n = n.filter(function(t) {
                    return Object.getOwnPropertyDescriptor(e, t).enumerable;
                })), o.push.apply(o, n)), o;
            }
            e.default.use(o.default), e.default.config.productionTip = !1, e.default.prototype.$onLaunched = new Promise(function(t) {
                e.default.prototype.$isResolve = t;
            }), n.default.mpType = "app", t(new e.default(function(o) {
                for (var t = 1; t < arguments.length; t++) {
                    var a = null != arguments[t] ? arguments[t] : {};
                    t % 2 ? r(Object(a), !0).forEach(function(t) {
                        var e, n;
                        e = o, t = a[n = t], n in e ? Object.defineProperty(e, n, {
                            value: t,
                            enumerable: !0,
                            configurable: !0,
                            writable: !0
                        }) : e[n] = t;
                    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(a)) : r(Object(a)).forEach(function(t) {
                        Object.defineProperty(o, t, Object.getOwnPropertyDescriptor(a, t));
                    });
                }
                return o;
            }({}, n.default))).$mount();
        }).call(this, s("543d").createApp);
    },
    ad3d: function(t, n, s) {
        (function(a) {
            Object.defineProperty(n, "__esModule", {
                value: !0
            }), n.default = void 0;
            var t = s("0d88"), e = s("c742"), o = s("c08c"), r = "asterye_waimaixia", e = {
                globalData: {
                    compareVersion: function(t, e) {
                        t = t.split("."), e = e.split(".");
                        for (var n = Math.max(t.length, e.length); t.length < n; ) t.push("0");
                        for (;e.length < n; ) e.push("0");
                        for (var o = 0; o < n; o++) {
                            var a = parseInt(t[o], 10), r = parseInt(e[o], 10);
                            if (r < a) return 1;
                            if (a < r) return -1;
                        }
                        return 0;
                    },
                    util: t,
                    crypt: e,
                    timeline: 0,
                    siteInfo: s("c08c"),
                    module_name: r,
                    employ: ""
                },
                onShow: function() {},
                onLaunch: function(t) {
                    a.showLoading({
                        title: "加载中...",
                        mask: !1
                    });
                    var n = this;
                    a.hideTabBar(), a.getSystemInfo({
                        success: function(t) {
                            var e = t.system.toLowerCase();
                            a.setStorageSync("statusBarHeight", t.statusBarHeight), a.setStorageSync("CustomBar", 44);
                            var n, o = a.getMenuButtonBoundingClientRect();
                            a.setStorageSync("CustomBar", o.bottom + o.top - t.statusBarHeight), a.setStorageSync("windowHeight", t.windowHeight), 
                            a.setStorageSync("windowWidth", t.windowWidth), -1 != e.indexOf("ios") ? (a.setStorageSync("systemtype", "ios"), 
                            n = t.statusBarHeight + 44, a.setStorageSync("headerHeight", n)) : (n = t.statusBarHeight + 48, 
                            a.setStorageSync("headerHeight", n), a.setStorageSync("systemtype", "android")), 
                            a.setStorageSync("windowviewHeight", t.windowHeight - n);
                        }
                    }), console.log(t.query.uid), null != t.query.uid && a.setStorageSync("invite_uid", t.query.uid), 
                    a.setStorageSync("show_showShade", 0), a.setStorageSync("enter_scene", t.scene), 
                    1154 == t.scene && (a.setStorageSync("openid", "sharetimeline"), e = o.siteroot + "?i=" + o.uniacid + "&from=wxapp&c=entry&a=wxapp&do=setting2&m=" + r + "&system_type=" + a.getStorageSync("systemtype"), 
                    a.request({
                        url: e,
                        method: "POST",
                        header: {
                            "content-type": "application/x-www-form-urlencoded"
                        },
                        success: function(t) {
                            a.setStorageSync("setting", t.data), console.log(a.getStorageSync("setting"));
                            t = o.siteroot + "?i=" + o.uniacid + "&from=wxapp&c=entry&a=wxapp&do=tabbar2&m=" + r + "&system_type=" + a.getStorageSync("systemtype");
                            a.request({
                                url: t,
                                method: "POST",
                                header: {
                                    "content-type": "application/x-www-form-urlencoded"
                                },
                                data: {
                                    openid: a.getStorageSync("openid")
                                },
                                success: function(t) {
                                    a.setStorageSync("tabbar", t.data.data.tabbar), n.$isResolve();
                                }
                            });
                        }
                    }));
                    var e = +new Date().getTime() - 2e4;
                    a.getStorageSync("lasttime") || a.setStorageSync("lasttime", 0), console.log(e), 
                    console.log(a.getStorageSync("lasttime")), e > a.getStorageSync("lasttime") ? a.login({
                        success: function(t) {
                            var e = o.siteroot + "?i=" + o.uniacid + "&from=wxapp&c=entry&a=wxapp&do=userinfo5&m=" + r + "&system_type=" + a.getStorageSync("systemtype");
                            a.request({
                                url: e,
                                data: {
                                    code: t.code
                                },
                                success: function(t) {
                                    var e = o.siteroot + "?i=" + o.uniacid + "&from=wxapp&c=entry&a=wxapp&do=userinfo4&gzh=1&m=" + r + "&system_type=" + a.getStorageSync("systemtype");
                                    a.request({
                                        url: e,
                                        data: {
                                            openid: t.data.openid,
                                            unionid: t.data.unionid,
                                            invite_uid: a.getStorageSync("invite_uid")
                                        },
                                        cachetime: 0,
                                        success: function(t) {
                                            0 == t.data.code && (a.setStorageSync("openid", t.data.data.openid), a.setStorageSync("setting", t.data.data.settings), 
                                            a.setStorageSync("tabbar", t.data.data.tabbar), a.setStorageSync("userinfo", t.data.data.userinfo), 
                                            a.setStorageSync("pid_use_time", t.data.data.pid_time), a.setStorageSync("lasttime", t.data.data.lasttime), 
                                            a.getStorageSync("pid_time") != a.getStorageSync("pid_use_time") && a.setStorageSync("pid_time", a.getStorageSync("pid_use_time")), 
                                            a.setStorageSync("elmwm_url", ""), a.setStorageSync("elmsc_url", ""), a.setStorageSync("elmwmposter", ""), 
                                            a.setStorageSync("elmscposter", ""), a.setStorageSync("mtwm_h5", ""), a.setStorageSync("mtwmqrcode2", ""), 
                                            a.setStorageSync("mtwmqrcode", ""), a.setStorageSync("mtwmposter", ""), a.setStorageSync("mtsc_h5", ""), 
                                            a.setStorageSync("mtscqrcode2", ""), a.setStorageSync("mtscqrcode", ""), a.setStorageSync("mtscposter", ""), 
                                            a.setStorageSync("elmwmqrcode", ""), a.setStorageSync("elmscqrcode", ""), a.setStorageSync("myqrcode", ""), 
                                            a.setStorageSync("myposter", ""), a.setStorageSync("mtwm_url", ""), a.setStorageSync("mtsc_url", ""), 
                                            a.setStorageSync("mtfxwm_url", ""), a.setStorageSync("mtfxwm_h5", ""), a.setStorageSync("mtfxsc_url", ""), 
                                            a.setStorageSync("mtfxsc_h5", ""), a.setStorageSync("mtfxtuan_url", ""), a.setStorageSync("mtfxtuan_h5", ""), 
                                            a.setStorageSync("waimaitt_meituanwm_lingnexturl", ""), a.setStorageSync("waimaitt_elmwm_lingnexturl", ""), 
                                            n.$isResolve());
                                        }
                                    });
                                }
                            });
                        }
                    }) : n.$isResolve();
                },
                methods: {
                    getQueryString: function(t) {
                        t = new RegExp("(^|&)" + t + "=([^&]*)(&|$)", "i");
                        return ((window.location.search.split("?")[1] || "").match(t) || [])[2];
                    },
                    getUrlCode: function() {
                        var t = location.search, e = new Object();
                        if (-1 != t.indexOf("?")) for (var n = t.substr(1).split("&"), o = 0; o < n.length; o++) e[n[o].split("=")[0]] = n[o].split("=")[1];
                        return e;
                    }
                }
            };
            n.default = e;
        }).call(this, s("543d").default);
    }
}, [ [ "9334", "common/runtime", "common/vendor" ] ] ]);